package com.example.springbootServiceNetwork.demos.web.Service;

import com.example.springbootServiceNetwork.demos.web.Config.JwtInfo;
import com.example.springbootServiceNetwork.demos.web.Config.Result;
import com.example.springbootServiceNetwork.demos.web.Entity.Dict;
import com.example.springbootServiceNetwork.demos.web.Entity.DictItem;

public interface DictService {
    Result queryDict(Dict dict, JwtInfo jwtInfo);

    Result queryDictGet(String child,JwtInfo jwtInfo);

    Result addDict(Dict dict, JwtInfo jwtInfo);

    Result updateDict(Dict dict, JwtInfo jwtInfo);

    Result deleteDict(Dict dict, JwtInfo jwtInfo);

    Result addDictItem(DictItem dictItem, JwtInfo jwtInfo);

    Result updateDictItem(DictItem dictItem, JwtInfo jwtInfo);

    Result deleteDictItem(DictItem dictItem, JwtInfo jwtInfo);

    Result autoDictCode(DictItem dictItem,JwtInfo jwtInfo);
}
